package com.platform.module.pojo.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class LoginDto {

    @Schema(description = "手机号")
    @NotBlank(message = "phone cannot be empty")
    private String phone;

    @NotBlank(message = "password cannot be empty")
    @Schema(description = "密码")
    private String password;


}
